package com.lianlb.service.impl;

import com.lianlb.entity.ZErrorMsg;
import com.lianlb.mapper.ZErrorMsgMapper;
import com.lianlb.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private ZErrorMsgMapper msgMapper;

    @Override
    public ZErrorMsg getUser() {

        ZErrorMsg zErrorMsg = msgMapper.selectMsg(1);
        return zErrorMsg;
    }
}
